load("@//rules/kotlin:junit5.bzl", "kt_test")

kt_test(
    name = "WorkspaceContextConstructorTest",
    size = "small",
    src = "WorkspaceContextConstructorTest.kt",
    associates = [
        "//executioncontext/workspacecontext/src/main/kotlin/org/jetbrains/bsp/bazel/workspacecontext",
    ],
)

kt_test(
    name = "BazelBinarySpecMapperTest",
    size = "small",
    src = "BazelBinarySpecMapperTest.kt",
    associates = [
        "//executioncontext/workspacecontext/src/main/kotlin/org/jetbrains/bsp/bazel/workspacecontext",
    ],
)

kt_test(
    name = "BuildFlagsSpecMapperTest",
    size = "small",
    src = "BuildFlagsSpecMapperTest.kt",
    associates = [
        "//executioncontext/workspacecontext/src/main/kotlin/org/jetbrains/bsp/bazel/workspacecontext",
    ],
)

kt_test(
    name = "BuildManualTargetsSpecMapperTest",
    size = "small",
    src = "BuildManualTargetsSpecMapperTest.kt",
    associates = [
        "//executioncontext/workspacecontext/src/main/kotlin/org/jetbrains/bsp/bazel/workspacecontext",
    ],
)

kt_test(
    name = "TargetsSpecMapperTest",
    size = "small",
    src = "TargetsSpecMapperTest.kt",
    associates = [
        "//executioncontext/workspacecontext/src/main/kotlin/org/jetbrains/bsp/bazel/workspacecontext",
    ],
)

kt_test(
    name = "DotBazelBspDirPathSpecMapperTest",
    size = "small",
    src = "DotBazelBspDirPathSpecMapperTest.kt",
    associates = [
        "//executioncontext/workspacecontext/src/main/kotlin/org/jetbrains/bsp/bazel/workspacecontext",
    ],
)

kt_test(
    name = "ImportDepthSpecMapperTest",
    size = "small",
    src = "ImportDepthSpecMapperTest.kt",
    associates = [
        "//executioncontext/workspacecontext/src/main/kotlin/org/jetbrains/bsp/bazel/workspacecontext",
    ],
)

kt_test(
    name = "DirectoriesSpecExtractorTest",
    size = "small",
    src = "DirectoriesSpecExtractorTest.kt",
    associates = [
        "//executioncontext/workspacecontext/src/main/kotlin/org/jetbrains/bsp/bazel/workspacecontext",
    ],
)

kt_test(
    name = "DefaultWorkspaceContextProviderTest",
    size = "small",
    src = "DefaultWorkspaceContextProviderTest.kt",
    associates = [
        "//executioncontext/workspacecontext/src/main/kotlin/org/jetbrains/bsp/bazel/workspacecontext",
    ],
)
